<?php
/**
 * Created by PhpStorm.
 * User: kamlyli
 * Date: 2017/8/5
 * Time: 11:44
 */

namespace app\api\validate;


class WebappValidate extends BaseValidate
{
    protected $rule = [
        'code' => 'require',
        'rawData' => 'require',
        'signature' => 'require',
        'encryptedData' => 'require',
        'iv' => 'require',
    ];

    protected $scene = [
        'get_cookie'  =>  ['code','rawData','signature','encryptedData','iv'],
    ];


}